<?php
namespace Home\Model;
use Think\Model;

class EventOrderModel extends Model {

    protected $_validate = array (
		array('firstName','require','First Name cannot be empty', 1),
		array('lastName','require','Last Name cannot be empty', 1),
		array('email','require','Email cannot be empty', 1),
		array('school','require','School cannot be empty', 1),
		array('major','require','Major cannot be empty', 1),
    );	

    protected $_auto = array (
		array('createTime','time',Model::MODEL_INSERT,'function'),				
	);
}
?>